crPEGetNthTableLocation

The crPEGetNthTableLocation function determines the location of a selected table used in the specified print job. This function is typically combined with crPESetNthTableLocation to identify the location of a table and then to change it.

Declare Function crPEGetNthTableLocation Lib "crwrap32.dll" Alias "crvbPEGetNthTableLocation" (ByVal printJob As Integer, ByVal TableN As Integer, ByRef tableLocation As String) As Integer

Parameters

printJob

Specifies the handle of the print job from which you want to retrieve information about a table's location.

TableN

Specifies the number of the table for which you want to retrieve location information. The first table is table 0.

tableLocation

Specifies the table location. This parameter is database dependent and must be formatted correctly for the expected database. For example:

xBase (Natively): <drive>:\<path>\<file>

xBase (ODBC): <data source name>

Paradox (Natively): <drive>:\<path>\<file>

Paradox (ODBC): <data source name>

Btrieve (Natively): <drive>:\<path>\<file>

Btrieve (ODBC): <data source name>

Oracle (Natively): <database>.<table>

Oracle (ODBC): <database>.<table>

SQL Server (Natively): <database>.<owner>.<table>

SQL Server (ODBC): <database>.<owner>.<table>

Return Value

TRUE (1) if the call is successful; FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com